package com.evan.designpatterns.factory.homework3.abstractfactory.factory;

import com.evan.designpatterns.factory.homework3.abstractfactory.product.Brand;
import com.evan.designpatterns.factory.homework3.abstractfactory.product.CarBrand;
import com.evan.designpatterns.factory.homework3.abstractfactory.product.CarWheel;
import com.evan.designpatterns.factory.homework3.abstractfactory.product.Wheel;

/**
 * @author :liujiapeng01
 * @date :2019-03-07 15:28
 **/
public class CarFactory implements AbstractFactory {
    @Override
    public Brand makeBrand() {
        return new CarBrand();
    }

    @Override
    public Wheel makeWheel() {
        return new CarWheel();
    }
}
